package org.example.travel_web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.travel_web.dto.PageResult;
import org.example.travel_web.dto.route.*;
import org.example.travel_web.entity.RoutesET;

/**
 * @author 23591
 * @description 针对表【travel_routes(用于存储旅游路线的基本信息)】的数据库操作Service
 * @createDate 2025-01-21 15:58:16
 */
public interface RoutesService extends IService<RoutesET> {

    PageResult<PageResp> pageResult(RoutePageReq req);

    void addRoutes(RouteReq req);

    void updateRoutes(RouteReq req);

    void deleteRoutes(Integer[] ids);

    RouteDetailResp getRouteDetail(Integer id);

    PageResult<UserRoutePageResp> userPageResult(UserRoutePageReq req);
}
